﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using CRM.DAL;
using CRM.MODEL;

namespace CRM.BLL.Role
{
    public class OrderInfoB
    {
        #region OrderInfo
        /// <summary>
        /// 获取OrderInfo信息
        /// </summary>
        public DataTable GetOrderInfoModule(ref  CRM.MODEL.GetOrderInfo stu)
        {
            DAL.Role.OrderInfoD obj = new DAL.Role.OrderInfoD();
            DataTable dt = obj.ExecuteGetOrderInfo(ref stu);
            obj.Dispose();
            return dt;
        }

        /// <summary>
        /// 编辑OrderInfo信息
        /// </summary>
        public int EditOrderInfoModule(ref  CRM.MODEL.EditOrderInfo stu)
        {
            DAL.Role.OrderInfoD obj = new DAL.Role.OrderInfoD();
            int effectRow = obj.ExecuteEditOrderInfo(ref stu);
            obj.Dispose();
            return effectRow;
        }
        #endregion
    }
}
